// 跳转登录页
import vRouter from "@/router"
const router = vRouter
const login = () => {
  ElMessageBox.alert('您还未登录，请前往登录。', '提示', {
    confirmButtonText: '确定',
    type: 'warning',
    callback: () => {
      router.push('/login')
      ElMessageBox.close()
    }
  })
}
export default login